home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Grand Slam 3
/
Grand Slam 3.iso
/
028
/
centurio.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-07-28
|
1KB
|
48 lines
@echo off
echo.
echo **************************************
echo Install for CESSNA CENTURION for FS5.1
echo **************************************
echo --- (C)opyright by J. Hantelmann ---
echo **************************************
echo.
:check
if "%1" == "" goto syntax
echo INSTALL will make backup copies of all files to be changed.
echo These backup copies will get a ~ at the end of their original extensions.
echo.
echo ------------------------------------------------------------------------------
echo Continue - press any key Abort - press Ctrl+C
echo.
pause >nul
if exist %1\SIM\CENTURIO.AIR goto error
echo Making backup copies...
ren %1\TEXTURE\CFRONTR.R8 CFRONTR.R8~
ren %1\TEXTURE\CREARR.R8 CREARR.R8~
ren %1\TEXTURE\CREARL.R8 CREARL.R8~
ren %1\PANELS\CESN_S.PNL CESN_S.PN~
ren %1\PANELS\SRADIOS.PIX SRADIOS.PI~
ren %1\PANELS\SRADIOS.ICN SRADIOS.IC~
echo Copying new files...
copy CFRONTR.R8 %1\TEXTURE
copy CREARR.R8 %1\TEXTURE
copy CREARL.R8 %1\TEXTURE
copy CENTURIO.AIR %1\SIM
copy CESN_S.PNL %1\PANELS
copy SRADIOS.PIX %1\PANELS
copy SRADIOS.ICN %1\PANELS
copy SCENTSPD.PIX %1\PANELS
echo.
echo Installation complete !!!
echo.
echo If you want to uninstall the CESSNA CENTURION, use the file UNINSTAL.BAT
goto end
:error
echo The CESNNA CENTURION is already installed !!!
goto end
:syntax
echo SYNTAX : INSTALL [Flightsimulator path]
echo EXAMPLE: INSTALL C:\FLTSIM5
:end
echo.